/* 重置特定页面的样式 */
.volunteer-profile {
    background-color: #f5f7fa;
    min-height: 100vh;
    padding: 2rem 0;
}

.volunteer-profile .profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.volunteer-profile .profile-header {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.volunteer-profile .profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="white" stroke-width="2" fill="none" opacity="0.1"/></svg>') repeat;
    opacity: 0.1;
}

.volunteer-profile .profile-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.volunteer-profile .profile-header p {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

.volunteer-profile .profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.volunteer-profile .profile-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.volunteer-profile .profile-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.volunteer-profile .profile-section h2 {
    color: #2c3e50;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
    position: relative;
}

.volunteer-profile .profile-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #4CAF50, #2196F3);
}

.volunteer-profile .profile-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.volunteer-profile .profile-form .form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #34495e;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.volunteer-profile .profile-form .form-group:focus-within label {
    color: #2196F3;
}

.volunteer-profile .profile-form .form-group input,
.volunteer-profile .profile-form .form-group select,
.volunteer-profile .profile-form .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #2c3e50;
}

.volunteer-profile .profile-form .form-group input:hover,
.volunteer-profile .profile-form .form-group select:hover,
.volunteer-profile .profile-form .form-group textarea:hover {
    border-color: #bdbdbd;
}

.volunteer-profile .profile-form .form-group input:focus,
.volunteer-profile .profile-form .form-group select:focus,
.volunteer-profile .profile-form .form-group textarea:focus {
    border-color: #2196F3;
    outline: none;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.volunteer-profile .profile-form .form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.volunteer-profile .profile-form .form-group input[readonly] {
    background-color: #f8f9fa;
    border-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.7;
}

.volunteer-profile .profile-form .form-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
}

.volunteer-profile .profile-form .btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.volunteer-profile .profile-form .btn-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.volunteer-profile .profile-form .btn-success:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

.volunteer-profile .profile-form .btn-warning {
    background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
    color: #fff;
}

.volunteer-profile .profile-form .btn-warning:hover {
    background: linear-gradient(135deg, #FFA000 0%, #FF8F00 100%);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
}

/* 密码修改部分的特殊样式 */
.volunteer-profile .password-section {
    background: linear-gradient(to bottom right, #ffffff 0%, #f8f9fa 100%);
}

.volunteer-profile .password-section .form-group input {
    background-color: white;
}

/* 添加动画效果 */
.volunteer-profile .profile-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .volunteer-profile .profile-content {
        grid-template-columns: 1fr;
    }
    
    .volunteer-profile .profile-header {
        padding: 2rem;
    }
    
    .volunteer-profile .profile-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .volunteer-profile .profile-container {
        padding: 1rem;
    }
    
    .volunteer-profile .profile-header {
        padding: 1.5rem;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .volunteer-profile .profile-section {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .volunteer-profile .profile-form .btn {
        width: 100%;
        min-width: auto;
    }
    
    .volunteer-profile .profile-form .form-actions {
        flex-direction: column;
    }
} 